function color_table = MakeColorGradationTable (color1,color2,n)

% make a color table (n x 3) which changes gradually
% from color1 (1 x 3) to color2 (1 x 3).
%
%   Kenichi Ohki 09/21/04


color_table = [linspace(color1(1),color2(1),n)',linspace(color1(2),color2(2),n)',...
        linspace(color1(3),color2(3),n)'];

